package com.jumi.microservice.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Map;

/**
 * @Description 短信传输类
 * @ClassName SMSMessage
 * @Author Abel Yang
 * @Date 2020/10/22/022 13:09
 **/
@ApiModel(value = "SMSMessage", description = "短信传输类")
public class SMSMessage implements Serializable {

    private static final long serialVersionUID = 3168992608945796896L;

    @ApiModelProperty(value = "接收人手机号")
    private String receiverMobilePhone;
    @ApiModelProperty(value = "短信模版id")
    private String smtShortId;
    @ApiModelProperty(value = "短信内容")
    private String messageContent;
    @ApiModelProperty(value = "短信替换内容")
    private Map<String, String> messageParams;
    @ApiModelProperty(value = "0:设备统一发送,1:短信单独发送")
    private Integer smtType;

    public String getSmtShortId() {
        return smtShortId;
    }

    public void setSmtShortId(String smtShortId) {
        this.smtShortId = smtShortId;
    }

    public String getReceiverMobilePhone() {
        return receiverMobilePhone;
    }

    public void setReceiverMobilePhone(String receiverMobilePhone) {
        this.receiverMobilePhone = receiverMobilePhone;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public Map<String, String> getMessageParams() {
        return messageParams;
    }

    public void setMessageParams(Map<String, String> messageParams) {
        this.messageParams = messageParams;
    }

    public Integer getSmtType() {
        return smtType;
    }

    public void setSmtType(Integer smtType) {
        this.smtType = smtType;
    }

    @Override
    public String toString() {
        return "MessageSMSDTO{" +
                "receiverMobilePhone='" + receiverMobilePhone + '\'' +
                ", messageParams='" + messageParams + '\'' +
                ", smtType=" + smtType +
                '}';
    }
}
